#include "StdAfx.h"

namespace ui{
	bool kvItem::Filter(const std::wstring& filter, bool ignoreCase) const{
		if (filter.empty())
			return true;
		std::wstring sValue = ignoreCase ? StringHelper::MakeLowerString(v) : v;
		return sValue.find(filter) != std::wstring::npos;
	}
}

